package com.chatplus.application.client.pay.domain.response.wechat;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * description: 微信统一下单返回参数封装
 *
 * @author liexuan
 * @date 2021-02-04 11:30
 **/
public class WechatOrderPayResponse implements Serializable {
    private static final long serialVersionUID = -2491424243434627075L;


    @ApiModelProperty(value = "签名")
    private String sign;

    @ApiModelProperty(value = "预支付交易会话ID")
    private String prepayId;

    @ApiModelProperty(value = "商户号")
    private String partnerId;

    @ApiModelProperty(value = "appid")
    private String appId;
    @ApiModelProperty(value = "mchid")
    private String mchid;

    @ApiModelProperty(value = "由于package为java保留关键字，因此改为packageValue. 前端使用时记得要更改为package")
    private String packageValue;

    @ApiModelProperty(value = "时间戳")
    private String timeStamp;

    @ApiModelProperty(value = "随机字符串")
    private String nonceStr;

    @ApiModelProperty(value = "签名方式")
    private String signType;

    @ApiModelProperty(value = "签名")
    private String paySign;

    @ApiModelProperty(value = "mweb_url H5支付跳转链接")
    private String mwebUrl;

    @ApiModelProperty(value = "trade_type为NATIVE时有返回，用于生成二维码，展示给用户进行扫码支付")
    private String codeUrl;

    @ApiModelProperty(value = "h5支付链接，有效期5分钟")
    private String h5Url;

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getPrepayId() {
        return prepayId;
    }

    public void setPrepayId(String prepayId) {
        this.prepayId = prepayId;
    }

    public String getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(String partnerId) {
        this.partnerId = partnerId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getPackageValue() {
        return packageValue;
    }

    public void setPackageValue(String packageValue) {
        this.packageValue = packageValue;
    }

    public String getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getPaySign() {
        return paySign;
    }

    public void setPaySign(String paySign) {
        this.paySign = paySign;
    }

    public String getMwebUrl() {
        return mwebUrl;
    }

    public void setMwebUrl(String mwebUrl) {
        this.mwebUrl = mwebUrl;
    }

    public String getCodeUrl() {
        return codeUrl;
    }

    public void setCodeUrl(String codeUrl) {
        this.codeUrl = codeUrl;
    }

    public String getH5Url() {
        return h5Url;
    }

    public void setH5Url(String h5Url) {
        this.h5Url = h5Url;
    }

    public String getMchid() {
        return mchid;
    }

    public void setMchid(String mchid) {
        this.mchid = mchid;
    }
}
